import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SSystemGetTaskIssue
    
    export  class SSystemGetTaskIssue extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SSystemGetTaskIssue();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.issuePlayerLevel);
            arg1.writeInt(this.issueItemColor);
            arg1.writeInt(this.issueNum);
            arg1.writeInt(this.issueExp);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.issuePlayerLevel = arg1.readInt();
            this.issueItemColor = arg1.readInt();
            this.issueNum = arg1.readInt();
            this.issueExp = arg1.readInt();
            return;
        }

        public /* const */_type: int=12105;

        public /* var */issuePlayerLevel: int;

        public /* var */issueItemColor: int;

        public /* var */issueNum: int;

        public /* var */issueExp: int;

        public static /* var */_regist: SSystemGetTaskIssue;
    }

            SSystemGetTaskIssue._regist = new SSystemGetTaskIssue(true);
        